/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: Course.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/3/11 上午8:15
 * LastModified: 2020/03/11 08:15:11
 */

package com.qolome.knowledge.design.pattern.composite.demo.transparent;

/**
 * @author Qolome
 * @version V1.0
 * @Description 课程
 * @date 2020年 03月11日 08:15:00
 */
public abstract class CourseComponet {

    private String name;
    public void addChid(CourseComponet courseComponet){
        throw  new UnsupportedOperationException("addChid not support");
    }

    public void remoceChid(CourseComponet courseComponet){
        throw  new UnsupportedOperationException("remoceChid not support");
    }

    public String getName(CourseComponet courseComponet){
        throw  new UnsupportedOperationException("getName not support");
    }

    public Double getPrice(CourseComponet courseComponet){
        throw  new UnsupportedOperationException("getPrice not support");
    }

    public void print(){
        throw  new UnsupportedOperationException("print not support");
    }
}
